home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-20 / nosvw.zip / PARAM < prev    next >
Text File  |  1991-09-18  |  4KB  |  109 lines

  1. =====                                               NOSview [137]
  2. param
  3. =====
  4.  
  5. The 'param' command allows device-specific control parameters to
  6. be sent to an interface, and the status to be read back from an
  7. interface.
  8.  
  9. On a KISS TNC interface, 'param' control packets to the TNC.
  10. Argument to the 'param' command are always decimal.
  11.  
  12. On a SLIP interface, the 'param' command allows the baud rate to
  13. be read (without arguments) or set.
  14.  
  15. The implementation of this command for the various interface
  16. drivers is incomplete and subject to change.
  17.  
  18.  
  19. _________________________________________________________________
  20. param <interface>
  21. _________________________________________________________________
  22. The 'param' command displays interface characteristics.  The
  23. actual data displayed depends on the interface type.
  24.  
  25. >>  Example of the output from 'param tnc0':
  26.  
  27. ...............
  28. : DTR: 1      :
  29. : RTS: 1      :
  30. : Speed: 4800 :
  31. :.............:
  32.  
  33.  
  34. _________________________________________________________________
  35. param <interface> <param> [<param> ...]
  36. _________________________________________________________________
  37. General command to send parameters to the interface.  Specific
  38. commands for a KISS interface are shown below.
  39.  
  40.  
  41. _________________________________________________________________
  42. param <KISS_interface> 0 <data frame>
  43. _________________________________________________________________
  44. [This command is not used to send data to the TNC, but is
  45. included here for completeness].
  46.  
  47.  
  48. _________________________________________________________________
  49. param <KISS_interface> 1 <TX_delay>                  (10mS units)
  50. _________________________________________________________________
  51. Set the TNC TXDELAY parameter.
  52.  
  53. >> Example:  param tnc0 1 20                    (TXDELAY = 200mS)
  54.  
  55.  
  56. _________________________________________________________________
  57. param <KISS_interface> 2 <persistence>                    (0-255)
  58. _________________________________________________________________
  59. Set the p-persistence parameter.  This parameter contributes
  60. towards collision avoidance on a busy channel.  When the channel
  61. is free, a random number between 0 and 255 is generated.  If this
  62. number is not greater than the <persistence> value, the packet is
  63. transmitted.  Otherwise the TNC waits for another slot time
  64. before trying again (see 'param 3' below).
  65.  
  66. >> Example:  param tnc0 2 63
  67.  
  68.  
  69. _________________________________________________________________
  70. param <KISS_interface> 3 <slot_time>                 (10mS units)
  71. _________________________________________________________________
  72. Set the duration of the p-persistence slot time.
  73.  
  74. >> Example:  param tnc0 3 10                  (Slot time = 100mS)
  75.  
  76.  
  77. _________________________________________________________________
  78. param <KISS_interface> 4 <TX_tail>                   (10mS units)
  79. _________________________________________________________________
  80. Set the TXTAIL parameter.
  81.  
  82. >> Example:  param tnc0 4 10                     (TXTAIL = 100mS)
  83.  
  84.  
  85. _________________________________________________________________
  86. param <KISS_interface> 5 <n>
  87. _________________________________________________________________
  88. Set the interface to half duplex or full duplex working.
  89.  
  90. n=0: half duplex
  91. n>0: full duplex
  92.  
  93. Most packet radio links are half duplex.
  94.  
  95. >> Example:  param tnc0 5 0                         (Half duplex)
  96.  
  97.  
  98. _________________________________________________________________
  99. param <KISS_interface> 255
  100. _________________________________________________________________
  101. Terminate TNC KISS mode and switch it back to native mode.  This
  102. is necessary if you wish to use the TNC in its traditional dumb-
  103. terminal mode (i.e. with the "cmd:" prompt).
  104.  
  105. This command returns the message "Return: 0" if it was
  106. successful.
  107.  
  108. >> Example:  param tnc0 255
  109.